<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>系统首页</title>
    <link rel="stylesheet" href="{$CSS}/bootstrap3.3.7.min.css">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <style>
        em{
            font-size: 20px;
            color: red;
            vertical-align: middle;
            line-height: 20px;
            height: 20px;
            display: inline-block;
        }
        .mar{
            margin-right:10px
        }
        .pic{
            float:none;margin-bottom:10px
        }
        .pic img{
            width: 393px;
            height: 75px;
        }
    </style>
</head>

<body style="overflow-x:hidden;">
<div style="padding:10px;border-bottom:1px solid #eee;font-size:15px;font-weight:700">&nbsp;公告管理&nbsp;[<a href="add.html">添加公告</a>]</div>
<div style="margin:40px auto;">
<div class="bs-example" data-example-id="simple-horizontal-form">
<form class="form-horizontal" method="post" action="" name="clientForm" id="regform">{tk()}{$notice->hidden('id')}
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label"><em>*</em>添加公告</label>
        <div class="col-sm-3">
            <textarea placeholder="公告内容" name="content" id="content" rows="6" cols="80" onpropertychange="if(this.scrollHeight>80) this.style.posHeight=this.scrollHeight+5">{$notice->content}</textarea>
            <span class="help-inline"></span>
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label"><em>*</em>是否开启弹窗功能</label>
        <div class="col-sm-2">
            <label class="radio-inline">
                <input type="radio" name="switch" value="1" {if $notice->switch == 1} checked="checked" {/if}>是
            </label>
            <label class="radio-inline">
                <input type="radio"name="switch" value="0" {if $notice->switch == 0} checked="checked" {/if}>否
            </label>
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label"></label>
        <div class="col-sm-6">
            <input type="hidden" value="{$id}" name="switchs">
            <input class="btn btn-success mar" name="btnAdd" ID="btnAdd" type="submit"   class="button" value="提交">
            <input class="btn btn-warning mar" name="reset" ID="Submit1" type="reset" value="重置">
            <input class="btn btn-danger mar"  name="back" ID="back" type="button" onclick="history.back();" value="返回">
        </div>
    </div>
</form>
</div>
</div>
</body>
</html>

